.TH llapi_changelog_in_buf 3 "2022-11-08" "" "Lustre User API"
.SH NAME
llapi_changelog_in_buf \- Check if there is changelog records in the internal buffer
.SH SYNOPSIS
.nf
.B #include <lustre/lustreapi.h>
.PP
.BI "int llapi_changelog_in_buf(void *" priv ");"
.fi
.SH DESCRIPTION
.PP
The function
.B llapi_changelog_in_buf()
checks if there are still changelog records in the read buffer for the
.I priv
instance.
.PP
.B llapi_changelog_in_buf()
with
.B llapi_changelog_recv()
can be used to dequeue all the changelog records still in the read buffer.
.SH RETURN VALUES
.PP
Return 1 if changelogs records are present in the internal read buffer,
otherwise return 0.
.SH "SEE ALSO"
.BR llapi_changelog_clear (3)
.BR llapi_changelog_get_fd (3),
.BR llapi_changelog_recv (3),
.BR llapi_changelog_start (3),
.BR lustreapi (7)
